home *** CD-ROM | disk | FTP | other *** search
/ Merciful 2 / Merciful - Disc 2.iso / software / d / devioustools21.dms / devioustools21.adf / utils / 007.lzx / netbeginner / scripts / startnet < prev    next >
Text File  |  1994-05-20  |  2KB  |  41 lines

  1. ; *** After you have installed PPP v1.30 and AMITCP V4.0 DEMO, ***
  2. ; *** copy this script OVER the created AmiTCP:bin/startnet.   ***
  3. ; *** DO NOT REPLACE the startnet script if you have installed ***
  4. ; *** a commercial version of AmiTCP/IP (v 4.x).               ***
  5. ; ***                                                          ***
  6. ; *** Après avoir installé PPP v1.30 et AmiTCP V4.0 DEMO,      ***
  7. ; *** copiez CE script sur le script créé AmiTCP:bin/startnet. ***
  8. ; *** NE REMPLACEZ PAS le script startnet si vous avez         ***
  9. ; *** installé une version commerciale de AmiTCP/IP (v 4.x).   ***
  10. ; ***                                                          ***
  11.  
  12. online devs:networks/ppp.device 0
  13. ; log in
  14. echo
  15. echo login: host
  16. AmiTCP:bin/login -f host
  17. AmiTCP:bin/umask 022
  18. AmiTCP:AmiTCP
  19. WaitForPort AMITCP
  20.  
  21. ; Configure loop-back device
  22. AmiTCP:bin/ifconfig lo0 localhost
  23. ; Configure ppp0
  24. AmiTCP:bin/ifconfig ppp0 $ppp0iplocal $ppp0ipremote
  25.  
  26. ; Add route to this host
  27. AmiTCP:bin/route add $ppp0iplocal localhost
  28. AmiTCP:bin/route add default $ppp0ipremote
  29. setenv HOSTNAME `AmiTCP:bin/hostname`
  30. Assign TCP: Exists > NIL:
  31. IF Warn
  32.   Mount TCP: from AmiTCP:devs/Inet-Mountlist
  33. EndIf
  34. ; Start the internet `super server'
  35. ; *** Remove the ; from the beginning of the following line ***
  36. ; *** if you wish to start `super server'                   ***
  37. ; ***                                                       ***
  38. ; *** Enlevez le ; du début de la ligne suivante si vous    ***
  39. ; *** souhaitez démarrer le `super server'                  ***
  40. ;Run <NIL: >NIL: AmiTCP:bin/inetd
  41.